/**
 * 
 */
package com.swim.sys.entity;

import javax.validation.constraints.NotNull;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

/**
 * 系统配置表Entity
 * @author ljw
 * @version 2023-06-19
 */
@Table(name="t_sys_set", alias="a", columns={
		@Column(name="id", attrName="id", label="唯一标识", isPK=true),
		@Column(name="sign_up_status", attrName="signUpStatus", label="报名咨询模块显示状态 1表示开启  2表示关闭"),
		@Column(name="apply_job_status", attrName="applyJobStatus", label="救生员/教练群模块显示状态 1表示开启  2表示关闭"),
		@Column(name="recruit_status", attrName="recruitStatus", label="场馆招聘模块显示状态 1表示开启  2表示关闭"),
		@Column(name="area_natatorium_num_status", attrName="areaNatatoriumNumStatus", label="区域游泳场馆数量展示状态 1表示开启  2表示关闭"),
		@Column(includeEntity=DataEntity.class),
	}, orderBy="a.update_date DESC"
)
public class SysSet extends DataEntity<SysSet> {
	
	private static final long serialVersionUID = 1L;
	private Integer signUpStatus;		// 报名咨询模块显示状态 1表示开启  2表示关闭
	private Integer applyJobStatus;		// 救生员/教练群模块显示状态 1表示开启  2表示关闭
	private Integer recruitStatus;		// 场馆招聘模块显示状态 1表示开启  2表示关闭
	private Integer areaNatatoriumNumStatus;		// 区域游泳场馆数量展示状态 1表示开启  2表示关闭
	
	public SysSet() {
		this(null);
	}

	public SysSet(String id){
		super(id);
	}
	
	@NotNull(message="报名咨询模块显示状态不能为空")
	public Integer getSignUpStatus() {
		return signUpStatus;
	}

	public void setSignUpStatus(Integer signUpStatus) {
		this.signUpStatus = signUpStatus;
	}

	@NotNull(message="救生员/教练群模块显示状态不能为空")
	public Integer getApplyJobStatus() {
		return applyJobStatus;
	}

	public void setApplyJobStatus(Integer applyJobStatus) {
		this.applyJobStatus = applyJobStatus;
	}
	
	@NotNull(message="场馆招聘模块显示状态不能为空")
	public Integer getRecruitStatus() {
		return recruitStatus;
	}

	public void setRecruitStatus(Integer recruitStatus) {
		this.recruitStatus = recruitStatus;
	}

	@NotNull(message="场馆招聘模块显示状态不能为空")
	public Integer getAreaNatatoriumNumStatus() {
		return areaNatatoriumNumStatus;
	}

	public void setAreaNatatoriumNumStatus(Integer areaNatatoriumNumStatus) {
		this.areaNatatoriumNumStatus = areaNatatoriumNumStatus;
	}
	
}